package com.event.mapper;

import com.event.pojo.Post;
import com.event.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author 孤雏
 * @since 2021-08-09
 */
@Mapper
@Repository
public interface UserMapper extends BaseMapper<User> {

    List<User> selectUser(User user);

    int updateUser(User user);
}
